extends Node2D


# Declare member variables here. Examples:
# var a = 2
# var b = "text"


# Called when the node enters the scene tree for the first time.
func _ready():
	pass # Replace with function body.


# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
#	pass

func setPlayPressed(v : bool):
	get_node("play/gray").visible = !v
	get_node("play/light").visible = v
	pass
	
func isPlayPressed():
	return get_node("play/light").visible
	
func setPausePressed(v : bool):
	get_node("pause/gray").visible = !v
	get_node("pause/light").visible = v
	pass
	
func isPausePressed():
	return get_node("pause/light").visible
	
func setStopPressed(v : bool):
	get_node("stop/gray").visible = !v
	get_node("stop/light").visible = v
	pass
	
func isStopPressed():
	return get_node("stop/light").visible

func _on_prev_pressed():
	pass # Replace with function body.

func _on_next_pressed():
	pass # Replace with function body.

func _on_play_pressed():
	setPlayPressed(true)
	setPausePressed(false)
	setStopPressed(false)
	pass # Replace with function body.

func _on_pause_pressed():
	setPlayPressed(false)
	setPausePressed(true)
	setStopPressed(false)
	pass # Replace with function body.

func _on_stop_pressed():
	setPlayPressed(false)
	setPausePressed(false)
	setStopPressed(true)
	pass # Replace with function body.
